package com.woniuxy.propertyjava.service;

import com.woniuxy.propertyjava.entity.OldPeople;
import com.woniuxy.propertyjava.entity.PageBean;
import com.woniuxy.propertyjava.entity.Registered;

public interface OldPeopleService {

    //根据id查数据
    OldPeople getqueryById(Integer opid);

    //分页查询
    PageBean<OldPeople> getAllOldPeople(OldPeople  oldPeople,int pageIndex, int pageSize);

    //新增一条数据
    void getinsert(OldPeople oldPeople);

    //通过主键删除数据
    void getdeleteById(Integer opid);

    //修改数据
    void getupdate(OldPeople oldPeople);




}
